package com.qqhf.hitfood.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "biz_food")
public class BizFood implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 食品简介
     */
    @ApiModelProperty(value = "食品简介", position = 3)
    private String intro;
    /**
     * 食品详情表id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "食品详情表id", position = 1)
    private Integer id;
    /**
     * 食品名
     */
    @ApiModelProperty(value = "食品名", position = 2)
    private String name;
    /**
     * 图片url
     */
    @ApiModelProperty(value = "图片url", position = 8)
    private String pictureUrl;
    /**
     * 价格
     */
    @ApiModelProperty(value = "价格", position = 5)
    private Double priceFood;
    /**
     * 打包费
     */
    @ApiModelProperty(value = "打包费", position = 6)
    private Double pricePack;
    /**
     * 周销量
     */
    @ApiModelProperty(value = "周销量", position = 9)
    private Integer salesMth;
    /**
     * 总销量
     */
    @ApiModelProperty(value = "总销量", position = 10)
    private Integer salesTtl;
    /**
     * 店铺id
     */
    @ApiModelProperty(value = "店铺id", position = 7)
    private Integer shopId;
    /**
     * 食品分类id
     */
    @ApiModelProperty(value = "食品分类id", position = 4)
    private Integer typeId;
    /**
     * 是否上架
     */
    @ApiModelProperty(value = "是否上架", position = 11)
    private Integer isSales;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", position = 12)
    private Timestamp createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", position = 13)
    private Timestamp modifyTime;
}
